package cn.jsc.org.domain;

import cn.jsc.basic.domain.BaseDomain;
import lombok.Data;

@Data //相当于配置get set hashcode equals tostring
public class Employee extends BaseDomain {
    //用户名
    private String username;
    //邮箱
    private String email;
    //电话
    private String phone;
    //盐值  就是类似于随机数
    private String salt;
    //密码
    private String password;
    //年龄
    private Integer age;
    //状态
    private Integer state;
    //部门id
    private Long department_id;
    //所属部门
    private Department department;

    //登录信息id
    private Long logininfo_id;
    //店铺id
    private Long shop_id;
}
